package com.ym.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ym.entity.SysRolePermission;
import com.ym.mapper.SysRolePermissionMapper;
import com.ym.service.SysRolePermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysRolePermissionServiceImpl extends ServiceImpl<SysRolePermissionMapper, SysRolePermission> implements SysRolePermissionService {

    @Autowired
    private SysRolePermissionMapper sysRolePermissionMapper;

    @Override
    public IPage<SysRolePermission> selectByExample(IPage<?> page, SysRolePermission example) {
        return sysRolePermissionMapper.selectByExample(page, example);
    }
}